body {
    font-family: 'Noto Sans', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    background-color: #4a90e2;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
}

header .login {
    color: white;
    text-decoration: none;
}

main {
    padding: 20px;
}

.file-list {
    background-color: white;
    border-radius: 8px;
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-y: scroll;
    max-height: 350px;
}
.file-list::-webkit-scrollbar {
    width: 10px;
}

.file-list::-webkit-scrollbar-thumb {
    background-color: #4a90e2;
    border-radius: 5px;
}
.notice-list {
    background-color: white;
    border-radius: 8px;
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: scroll;
    max-height: 150px;
    margin-bottom: 20px;
}
body::-webkit-scrollbar{
    display: none;
}
.notice-list::-webkit-scrollbar {
    width: 10px;
}

.notice-list::-webkit-scrollbar-thumb {
    background-color: #4a90e2;
    border-radius: 5px;
}

.file-list h2 {
    background-color: #4a90e2;
    color: white;
    padding: 10px 20px;
    margin: 0;
}
.notice-list h2 {
    background-color: #4a90e2;
    color: white;
    padding: 10px 20px;
    margin: 0;
}
.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    cursor: pointer;
}

.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    cursor: pointer;
}
.file-item:last-child {
    border-bottom: none;
}
.notice-item:last-child {
    border-bottom: none;
}
.file-name {
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

.file-name:hover {
    color: #4a90e2;
    text-decoration: underline;
}
.file-back {
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

.file-back:hover {
    color: #4a90e2;
    text-decoration: underline;
}
.dic-name {
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

.dic-name:hover {
    color: #4a90e2;
    text-decoration: underline;
}
.notice-name {
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

.notice-item:hover {
    color: #4a90e2;
    background-color: #333;

}
.file-size {
    color: #666;
}

.file-date {
    justify-content: center;
    color: #999;
}
.notice-date {
    color: #999;
}
.progress-container {
    width: 15%;
    background-color: #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
    height: 5px;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: #4a90e2;
    transition: width 0.5s;
}

.transfer-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.transfer-btn:hover {
    background-color: #357ab8;
}

.announcement {
    background-color: #ffffff;
    border-radius: 8px;
    opacity: 0.9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}
.announcement h2 {
    background-color: #4a90e2;
    color: white;
    padding: 10px 20px;
    justify-content: center;
    margin: 0;
    border-radius: 8px;
}



.announcement-description {
    font-size: 17px;
    color: white;
}

.announcement-content {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}


.custom-tooltip {
font-family: 'Noto Sans', sans-serif;
background-color: #4a90e2; 
color: white; 
padding: 8px 12px; 
border-radius: 6px; 
font-size: 13px; 
height: auto;
width: auto;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); 
white-space: nowrap; 
position: absolute;
z-index: 1000;
}

/* 文件名容器 */
.file-name-container {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 200px; /* 固定宽度 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 文件名 */
.file-name, .dic-name {
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
    margin-right: 10px; /* 为工具栏留出空间 */
}

/* 文件名悬浮提示 */
.file-name-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #4a90e2;
    color: white;
    padding: 5px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

.file-name-container:hover .file-name-tooltip {
    opacity: 1;
}


.file-toolbar {
    display: none;
    align-items: center;
    margin-left: 15px; 
}
.file-toolbar i{
    margin-left: 12px;
}
.file-item:hover .file-toolbar {
    display: flex;
}


.file-date {
    justify-content: center;
    color: #999;
}